align-content & align-items


Posted by Rich on 2021-05-17

Align-content determines the spacing between lines, while align-items determines how the items as a whole are aligned within the container.
When there is only one line, align-content has no effect.










Related Posts

Vite 安裝

Vite 安裝

webpack 5 入門:pnpm + webpack5

webpack 5 入門:pnpm + webpack5

開啟測試這扇門的鑰匙

開啟測試這扇門的鑰匙


Comments